package com.qingcloud.base.api.remote.datafusion.fallback;

import com.qingcloud.base.api.remote.datafusion.DatafusionApi;
import com.qingcloud.base.pojo.ApiResult;
import com.qingcloud.base.remote.datafusion.SourceInfo;
import lombok.Setter;

import java.util.List;

public class DatafusionApiFallback implements DatafusionApi {
    @Setter
    private Throwable cause;

    @Override
    public ApiResult findsourceByInstanceId(Integer instanceId) {
        return null;
    }

    @Override
    public ApiResult findTopics(List<Integer> types) {
        return null;
    }

    @Override
    public ApiResult findInstanceById(Integer instanceId) {
        return null;
    }

    @Override
    public ApiResult findSourceById(Integer id) {
        return null;
    }

    @Override
    public ApiResult findProductIdByInstanceId(Integer instanceId) {
        return null;
    }

    @Override
    public ApiResult findSourcesById(List<Integer> sourceIds) {
        return null;
    }

    @Override
    public ApiResult saveSource(SourceInfo sources) {
        return null;
    }

    @Override
    public ApiResult deleteBySourceId(List<Integer> sourceIds) {
        return null;
    }

    @Override
    public ApiResult findDecoderComponent(String name, int page, int pageSize) {
        return new ApiResult();
    }

    @Override
    public ApiResult getCustomerApiByClientId(String clientId) {
        return null;
    }

}
